home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 July & August / PCWorld_2006-07-08_cd.bin / komunikace / apache / apache_2[1].2.2-win32-x86-no_ssl.msi / Data1.cab / _6B2373CCEECC7AEC4906648B0A2525D2 < prev    next >
Extensible Markup Language  |  2006-01-15  |  18KB  |  333 lines

  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!--
  4.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  5.               This file is generated from xml source: DO NOT EDIT
  6.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  7.       -->
  8. <title>╛╞╞──í ┼⌡┼Σ╕«╛≤: .htaccess ╞─└╧ - Apache HTTP Server</title>
  9. <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
  10. <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
  11. <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
  12. <link href="../images/favicon.ico" rel="shortcut icon" /></head>
  13. <body id="manual-page"><div id="page-header">
  14. <p class="menu"><a href="../mod/">╕≡╡Γ</a> | <a href="../mod/directives.html">┴÷╜├╛ε╡Θ</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">┐δ╛ε</a> | <a href="../sitemap.html">╗τ└╠╞«╕╩</a></p>
  15. <p class="apache">Apache HTTP Server Version 2.2</p>
  16. <img alt="" src="../images/feather.gif" /></div>
  17. <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
  18. <div id="path">
  19. <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.2</a> > <a href="./">How-To / Tutorials</a></div><div id="page-content"><div id="preamble"><h1>╛╞╞──í ┼⌡┼Σ╕«╛≤: .htaccess ╞─└╧</h1>
  20. <div class="toplang">
  21. <p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="../en/howto/htaccess.html" hreflang="en" rel="alternate" title="English"> en </a> |
  22. <a href="../ja/howto/htaccess.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
  23. <a href="../ko/howto/htaccess.html" title="Korean"> ko </a> |
  24. <a href="../pt-br/howto/htaccess.html" hreflang="pt-br" rel="alternate" title="Português (Brasil)"> pt-br </a></p>
  25. </div>
  26. <div class="outofdate">└╠ ╣«╝¡┤┬ ├╓╜┼╞╟ ╣°┐¬└╠ ╛╞┤╒┤╧┤┘.
  27.             ├╓▒┘┐í ║»░µ╡╚ │╗┐δ└║ ┐╡╛ε ╣«╝¡╕ª ┬ⁿ░φ╟╧╝╝┐Σ.</div>
  28.  
  29. <p><code>.htaccess</code> ╞─└╧└╗ ╗τ┐δ╟╧┐⌐ ╡≡╖║┼Σ╕«║░╖╬ ╝│┴ñ└╗
  30. ║»░µ╟╥ ╝÷ └╓┤┘.</p>
  31. </div>
  32. <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#related">.htaccess ╞─└╧</a></li>
  33. <li><img alt="" src="../images/down.gif" /> <a href="#what">╣½╛∙└╠╕τ/╛ε╢╗░╘ ╗τ┐δ╟╧┤┬░í</a></li>
  34. <li><img alt="" src="../images/down.gif" /> <a href="#when">╛≡┴ª .htaccess ╞─└╧└╗ ╗τ┐δ╟╧│¬
  35.     (╚ñ└║ ╗τ┐δ╟╧┴÷ ╛╩│¬)</a></li>
  36. <li><img alt="" src="../images/down.gif" /> <a href="#how">╛ε╢╗░╘ ┴÷╜├╛ε╕ª └√┐δ╟╧│¬</a></li>
  37. <li><img alt="" src="../images/down.gif" /> <a href="#auth">└╬┴⌡ ┐╣┴ª</a></li>
  38. <li><img alt="" src="../images/down.gif" /> <a href="#ssi">Server Side Includes ┐╣┴ª</a></li>
  39. <li><img alt="" src="../images/down.gif" /> <a href="#cgi">CGI ┐╣┴ª</a></li>
  40. <li><img alt="" src="../images/down.gif" /> <a href="#troubleshoot">╣«┴ª╟╪░ß</a></li>
  41. </ul></div>
  42. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  43. <div class="section">
  44. <h2><a name="related" id="related">.htaccess ╞─└╧</a></h2>
  45.     <table class="related"><tr><th>░ⁿ╖├╡╚ ╕≡╡Γ</th><th>░ⁿ╖├╡╚ ┴÷╜├╛ε</th></tr><tr><td><ul><li><code class="module"><a href="../mod/core.html">core</a></code></li><li><code class="module"><a href="../mod/mod_authn_file.html">mod_authn_file</a></code></li><li><code class="module"><a href="../mod/mod_authz_groupfile.html">mod_authz_groupfile</a></code></li><li><code class="module"><a href="../mod/mod_cgi.html">mod_cgi</a></code></li><li><code class="module"><a href="../mod/mod_include.html">mod_include</a></code></li><li><code class="module"><a href="../mod/mod_mime.html">mod_mime</a></code></li></ul></td><td><ul><li><code class="directive"><a href="../mod/core.html#accessfilename">AccessFileName</a></code></li><li><code class="directive"><a href="../mod/core.html#allowoverride">AllowOverride</a></code></li><li><code class="directive"><a href="../mod/core.html#options">Options</a></code></li><li><code class="directive"><a href="../mod/mod_mime.html#addhandler">AddHandler</a></code></li><li><code class="directive"><a href="../mod/core.html#sethandler">SetHandler</a></code></li><li><code class="directive"><a href="../mod/core.html#authtype">AuthType</a></code></li><li><code class="directive"><a href="../mod/core.html#authname">AuthName</a></code></li><li><code class="directive"><a href="../mod/mod_authn_file.html#authuserfile">AuthUserFile</a></code></li><li><code class="directive"><a href="../mod/mod_authz_groupfile.html#authgroupfile">AuthGroupFile</a></code></li><li><code class="directive"><a href="../mod/core.html#require">Require</a></code></li></ul></td></tr></table>
  46. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  47. <div class="section">
  48. <h2><a name="what" id="what">╣½╛∙└╠╕τ/╛ε╢╗░╘ ╗τ┐δ╟╧┤┬░í</a></h2>
  49.  
  50.  
  51.     <p><code>.htaccess</code> ╞─└╧(╚ñ└║ "║╨╗Ω ╝│┴ñ╞─└╧")└╗
  52.     ╗τ┐δ╟╧╕Θ ╡≡╖║┼Σ╕«║░╖╬ ╝│┴ñ└╗ ║»░µ╟╥ ╝÷ └╓┤┘. ┐⌐╖» ╝│┴ñ ┴÷╜├╛ε░í
  53.     └╓┤┬ ╞─└╧└╗ ╞»┴ñ ╣«╝¡ ╡≡╖║┼Σ╕«┐í ╡╬╕Θ, ▒╫ ╡≡╖║┼Σ╕«┐═ ╕≡╡τ
  54.     ╟╧└º╡≡╖║┼Σ╕«┐í ┴÷╜├╛ε╕ª └√┐δ╟╤┤┘.</p>
  55.  
  56.     <div class="note"><h3>┴╓└╟:</h3>
  57.       <p><code>.htaccess</code> ╞─└╧╕φ└╗ ┤┘╕ú░╘ ╗τ┐δ╟╧░φ ╜═┤┘╕Θ,
  58.       <code class="directive"><a href="../mod/core.html#accessfilename">AccessFileName</a></code> ┴÷╜├╛ε╕ª
  59.       ╗τ┐δ╟╧┐⌐ ║»░µ╟╥ ╝÷ └╓┤┘. ┐╣╕ª ╡Θ╛ε, <code>.config</code>
  60.       ╞─└╧╕φ└╗ ╗τ┐δ╟╧╖┴╕Θ ╝¡╣÷ ╝│┴ñ╞─└╧┐í ┤┘└╜░· ░░└╠ ├▀░í╟╤┤┘.</p>
  61.  
  62.       <div class="example"><p><code>
  63.         AccessFileName .config
  64.       </code></p></div>
  65.     </div>
  66.  
  67.     <p>└╧╣▌└√└╕╖╬ <code>.htaccess</code> ╞─└╧└║ <a href="../configuring.html#syntax">┴╓╝│┴ñ╞─└╧</a>░· ╣«╣²└╠
  68.     ░░┤┘. <code class="directive"><a href="../mod/core.html#allowoverride">AllowOverride</a></code>
  69.     ┴÷╜├╛ε░í └╠ ╞─└╧┐í │¬┐├ ╝÷ └╓┤┬ │╗┐δ└╗ ░ß┴ñ╟╤┤┘. └╠ ┴÷╜├╛ε┤┬
  70.     <code>.htaccess</code> ╞─└╧┐í╝¡ ╟π┐δ╟╧┤┬ ┴÷╜├╛ε ║╨╖∙╕ª ┴÷┴ñ╟╤┤┘.
  71.     ┴÷╜├╛ε╕ª <code>.htaccess</code> ╞─└╧┐í╝¡ ╗τ┐δ╟╥ ╝÷ └╓┤┘╕Θ,
  72.     ╟╪┤τ ┴÷╜├╛ε ╣«╝¡└╟ Override ╟╫╕±└║ ┴÷╜├╛ε╕ª ╟π┐δ╟╧▒Γ└º╟╪
  73.     <code class="directive"><a href="../mod/core.html#allowoverride">AllowOverride</a></code>┐í ╗τ┐δ╟╥
  74.     ░¬└╗ ╛╦╖┴┴╪┤┘.</p>
  75.  
  76.     <p>┐╣╕ª ╡Θ╛ε, <code class="directive"><a href="../mod/core.html#adddefaultcharset">AddDefaultCharset</a></code>
  77.     ┴÷╜├╛ε ╣«╝¡╕ª ║╕╕Θ └╠ ┴÷╜├╛ε╕ª <code>.htaccess</code> ╞─└╧┐í╝¡
  78.     ╗τ┐δ╟╥ ╝÷ └╓┤┘. (┴÷╜├╛ε ┐Σ╛α┐í╝¡ ╗τ┐δ└σ╝╥ ╟╫╕±└╗ ║╕╢≤.)
  79.     <a href="../mod/directive-dict.html#Context">Override</a>
  80.     ┴┘┐í <code>FileInfo</code>░í └╓┤┘. ▒╫╖í╝¡ └╠ ┴÷╜├╛ε╕ª
  81.     <code>.htaccess</code> ╞─└╧┐í╝¡ ╗τ┐δ╟╧▒Γ└º╟╪╝¡┤┬ ├╓╝╥╟╤
  82.     <code>AllowOverride FileInfo</code>░í ╟╩┐Σ╟╧┤┘.</p>
  83.  
  84.     <div class="example"><h3>┐╣┴ª:</h3><table>
  85.         <tr>
  86.           <td><a href="../mod/directive-dict.html#Context">╗τ┐δ└σ╝╥:</a></td>
  87.           <td>┴╓╝¡╣÷╝│┴ñ, ░í╗≤╚ú╜║╞«, directory, .htaccess</td>
  88.         </tr>
  89.  
  90.         <tr>
  91.           <td><a href="../mod/directive-dict.html#Override">Override:</a></td>
  92.           <td>FileInfo</td>
  93.         </tr>
  94.       </table></div>
  95.  
  96.     <p>╞»┴ñ ┴÷╜├╛ε╕ª <code>.htaccess</code> ╞─└╧┐í╝¡ ╗τ┐δ╟╥
  97.     ╝÷ └╓┤┬┴÷ ▒├▒▌╟╧╕Θ ┴÷╜├╛ε ╣«╝¡└╟ ╗τ┐δ└σ╝╥ ╟╫╕±┐í ".htaccess"░í
  98.     └╓┤┬┴÷ ╚«└╬╟╤┤┘.</p>
  99.     </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  100. <div class="section">
  101. <h2><a name="when" id="when">╛≡┴ª .htaccess ╞─└╧└╗ ╗τ┐δ╟╧│¬
  102.     (╚ñ└║ ╗τ┐δ╟╧┴÷ ╛╩│¬)</a></h2>
  103.  
  104.     <p>└╧╣▌└√└╕╖╬ ┴╓╝¡╣÷╞─└╧┐í ┴ó▒┘╟╥ ╝÷ ╛°┤┬ ░µ┐∞░í ╛╞┤╧╢≤╕Θ
  105.     <code>.htaccess</code> ╞─└╧└╗ ╗τ┐δ╟╧╕Θ ╛╚╡╚┤┘. ┐╣╕ª ╡Θ╛ε,
  106.     ╗τ┐δ└┌ └╬┴⌡└╠ ╟╫╗≤ <code>.htaccess</code> ╞─└╧┐í └╓╛ε╛▀
  107.     ╟╤┤┘┤┬ ░═└║ └▀╕° ╛╦╖┴┴° ┐└╟╪┤┘. └╠┤┬ ╗τ╜╟└╠ ╛╞┤╧┤┘. ┴╓╝¡╣÷╝│┴ñ┐í
  108.     ╗τ┐δ└┌ └╬┴⌡ ╝│┴ñ└╗ └√└╗ ╝÷ └╓░φ, ╗τ╜╟ └╠╖»▒µ ▒╟╟╤┤┘.</p>
  109.  
  110.     <p><code>.htaccess</code> ╞─└╧└║ ─┴┼┘├≈ ┴ª░°└┌░í ╡≡╖║┼Σ╕«║░╖╬
  111.     ╝¡╣÷ ╝│┴ñ└╗ ┤┘╕ú░╘╟╧░φ ╜═┴÷╕╕ ╝¡╣÷ ╜├╜║┼█┐í root ▒╟╟╤└╠
  112.     ╛°┤┬ ░µ┐∞┐í ╗τ┐δ╟╤┤┘. ╝¡╣÷ ░ⁿ╕«└┌░í ╝│┴ñ└╗ └┌┴╓ ║»░µ╟╧░φ
  113.     ╜═┴÷ ╛╩└║ ░µ┐∞ └╧╣▌ ╗τ┐δ└┌░í ┴≈┴ó <code>.htaccess</code>
  114.     ╞─└╧└╗ ╝÷┴ñ╟╧╡╡╖╧ ╟π┐δ╟╧┤┬ ░═└╠ ╣┘╢≈┴≈╟╧┤┘. ┐╣╕ª ╡Θ╛ε, ╟╤
  115.     ──╟╗┼═┐í ┐⌐╖» ╗τ┐δ└┌ ╗τ└╠╞«╕ª ╝¡║±╜║╟╧┤┬ ISP┐í╝¡ ╗τ┐δ└┌░í
  116.     └┌╜┼└╟ ╝│┴ñ└╗ ║»░µ╟╧░φ ╜═└║ ░µ┐∞░í ▒╫╖»╟╧┤┘.</p>
  117.  
  118.     <p>▒╫╖»│¬ └╧╣▌└√└╕╖╬ <code>.htaccess</code> ╞─└╧└║ ░í▒▐└√
  119.     ╟╟╟╪╛▀ ╟╤┤┘. <code>.htaccess</code> ╞─└╧┐í╝¡ ╟π┐δ╟╧┤┬ ┴÷╜├╛ε┤┬
  120.     ┴╓╝│┴ñ╞─└╧└╟ <code class="directive"><a href="../mod/core.html#directory"><Directory></a></code> ╝╜╝╟░· ░░└║ ╚┐░·░í
  121.     └╓┤┘.</p>
  122.  
  123.     <p>┤┘└╜ ╡╬░í┴÷ ┼½ └╠└»╢º╣«┐í <code>.htaccess</code> ╞─└╧
  124.     ╗τ┐δ└╗ ╟╟╟╪╛▀ ╟╤┤┘.</p>
  125.  
  126.     <p>├╣╣°┬░┤┬ ╝║┤╔└╠┤┘. <code class="directive"><a href="../mod/core.html#allowoverride">AllowOverride</a></code>░í <code>.htaccess</code>
  127.     ╞─└╧└╗ ╗τ┐δ╟╧╡╡╖╧ ╟π┐δ╟╧╕Θ, ╛╞╞──í┤┬ ╡≡╖║┼Σ╕«╕╢┤┘
  128.     <code>.htaccess</code> ╞─└╧└╗ ├ú┤┬┤┘. ▒╫╖í╝¡
  129.     <code>.htaccess</code> ╞─└╧└╗ ╟π┐δ╟╧╕Θ ╜╟┴ª╖╬ ╞─└╧└╗ ╗τ┐δ╟╧┴÷
  130.     ╛╩┤┬ ░µ┐∞┐í╡╡ ╝║┤╔└╠ ╢│╛ε┴°┤┘! ╢╟, <code>.htaccess</code>
  131.     ╞─└╧└║ ╣«╝¡╕ª ┐Σ├╗╟╥╢º╕╢┤┘ └╨╛ε╡Θ└╬┤┘.</p>
  132.  
  133.     <p>░╘┤┘░í └√┐δ╟╪╛▀ ╟╧┤┬ └ⁿ├╝ ┴÷╜├╛ε╕ª ╕≡└╕▒Γ└º╟╪ ╛╞╞──í┤┬
  134.     ╕≡╡τ ╗≤└º ╡≡╖║┼Σ╕«┐í╝¡ <code>.htaccess</code> ╞─└╧└╗ ├ú┤┬┤┘.
  135.     (<a href="#how">╛ε╢╗░╘ ┴÷╜├╛ε╕ª └√┐δ╟╧│¬</a> └²└╗ ┬ⁿ░φ.)
  136.     ▒╫╖í╝¡ <code>/www/htdocs/example</code> ╡≡╖║┼Σ╕«┐í └╓┤┬
  137.     ╞─└╧└╗ ┐Σ├╗╟╧╕Θ, ╛╞╞──í┤┬ ┤┘└╜ ╞─└╧╡Θ└╗ ├ú╛╞╛▀ ╟╤┤┘.</p>
  138.  
  139.     <div class="example"><p><code>
  140.       /.htaccess<br />
  141.       /www/.htaccess<br />
  142.       /www/htdocs/.htaccess<br />
  143.       /www/htdocs/example/.htaccess
  144.     </code></p></div>
  145.  
  146.     <p>▒╫╖í╝¡ ▒╫ ╡≡╖║┼Σ╕«┐í └╓┤┬ ╞─└╧└╗ ┴ó▒┘╟╥ ╢º╕╢┤┘ ╝│┴ñ╞─└╧└╠
  147.     └ⁿ╟⌠ ╛°╛ε╡╡ ╞─└╧╜├╜║┼█└╗ 4╣° ┤⌡ ┴ó▒┘╟╪╛▀ ╟╤┤┘.
  148.     (<code>/</code>┐í╝¡╡╡ <code>.htaccess</code> ╞─└╧└╗ ╟π┐δ╟╤
  149.     ░µ┐∞╕ª ╕╗╟╤┤┘. ║╕┼δ└║ ╟π┐δ╟╧┴÷ ╛╩┤┬┤┘.)</p>
  150.  
  151.     <p>╡╬╣°┬░ └╠└»┤┬ ║╕╛╚└╠┤┘. ╗τ┐δ└┌┐í░╘ ╝¡╣÷╝│┴ñ ║»░µ ▒╟╟╤└╗
  152.     ┴╓╕Θ ┤τ╜┼└╠ ░¿┤τ╟╥ ╝÷ ╛°┤┬ ║»╚¡░í └╧╛ε│» ╝÷ └╓┤┘. ╗τ┐δ└┌┐í░╘
  153.     └╠╖▒ ▒╟╟╤└╗ ┴┘┴÷ ░⌡░⌡└╠ ╗²░ó╟╧╢≤. ╢╟, ╗τ┐δ└┌░í ┐°╟╧┤┬ ░═║╕┤┘
  154.     └√└║ ▒╟╟╤└╗ ┴╓╕Θ ▒Γ╝·┴÷┐°┐Σ├╗└╠ ╡Θ╛ε┐┬┤┘. ╗τ┐δ└┌┐í░╘ ░í┤╔╟╤
  155.     ▒╟╟╤ ╝÷┴╪└╗ ╕φ╚«╚≈ ╛╦╖┴╢≤. ╗τ┐δ└┌┐í░╘ <code class="directive"><a href="../mod/core.html#allowoverride">AllowOverride</a></code>╕ª ╛ε╢╗░╘ ╝│┴ñ╟╧┐┤┤┬┴÷
  156.     ┴ñ╚«╚≈ ╛╦╕«░φ ░ⁿ╖├ ╣«╝¡╕ª ┴ª░°╟╧╕Θ ╛╒└╕╖╬ ╚Ñ╢⌡└╗ ╟╟╟╥ ╝÷
  157.     └╓┤┘.</p>
  158.  
  159.     <p>┴÷╜├╛ε╕ª <code>/www/htdocs/example</code> ╡≡╖║┼Σ╕«└╟
  160.     <code>.htaccess</code> ╞─└╧└╗ ╡╬┤┬ ░═░· ┴╓╝¡╣÷╝│┴ñ└╟
  161.     <code><Directory /www/htdocs/example></code> Directory
  162.     ╝│┴ñ┐í ╡╬┤┬ ░═└║ ┐╧└ⁿ╚≈ ░░┤┘.</p>
  163.  
  164.     <p><code>/www/htdocs/example</code>┐í └╓┤┬
  165.     <code>.htaccess</code> ╝╜╝╟:</p>
  166.  
  167.     <div class="example"><h3><code>/www/htdocs/example</code>┐í └╓┤┬
  168.     .htaccess ╞─└╧ │╗┐δ</h3><p><code>
  169.         AddType text/example .exm
  170.     </code></p></div>
  171.  
  172.     <div class="example"><h3><code>httpd.conf</code> ╞─└╧┐í └╓┤┬ ╝╜╝╟</h3><p><code>
  173.       <Directory /www/htdocs/example><br />
  174.       <span class="indent">
  175.         AddType text/example .exm<br />
  176.       </span>
  177.       </Directory>
  178.     </code></p></div>
  179.  
  180.     <p>▒╫╖»│¬ ╞─└╧└╗ ┐Σ├╗╟╥ ╢º╕╢┤┘ ╝│┴ñ└╗ └╨┴÷╛╩░φ ╛╞╞──í░í
  181.     ╜├└█╟╥╢º ╟╤╣°╕╕ ╝│┴ñ└╗ └╨▒Γ╢º╣«┐í ░░└║ ╝│┴ñ└╗ ╝¡╣÷╝│┴ñ╞─└╧┐í
  182.     ╗τ┐δ╟╧╕Θ ╝║┤╔└╠ ┤⌡ ║ⁿ╕ú┤┘.</p>
  183.  
  184.     <p><code class="directive"><a href="../mod/core.html#allowoverride">AllowOverride</a></code> ┴÷╜├╛ε╕ª
  185.     <code>none</code>└╕╖╬ ╝│┴ñ╟╧╕Θ <code>.htaccess</code> ╞─└╧└╗
  186.     ┐╧└ⁿ╚≈ ╗τ┐δ╟╥ ╝÷ ╛°┤┘.</p>
  187.  
  188.     <div class="example"><p><code>
  189.       AllowOverride None
  190.     </code></p></div>
  191. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  192. <div class="section">
  193. <h2><a name="how" id="how">╛ε╢╗░╘ ┴÷╜├╛ε╕ª └√┐δ╟╧│¬</a></h2>
  194.  
  195.     <p><code>.htaccess</code> ╞─└╧└╗ ╣▀░▀╟╤ ╡≡╖║┼Σ╕«┐═ ▒╫ ╡≡╖║┼Σ╕«└╟
  196.     ╕≡╡τ ╟╧└º╡≡╖║┼Σ╕«┐í <code>.htaccess</code> ╞─└╧┐í └╓┤┬ ╝│┴ñ
  197.     ┴÷╜├╛ε╕ª └√┐δ╟╤┤┘. ▒╫╖í╝¡ ╗≤└º╡≡╖║┼Σ╕«└╟ <code>.htaccess</code>
  198.     ╞─└╧└╗ ┴╓└╟╟╪╛▀ ╟╤┤┘. ╣▀░▀╟╤ ╝°╝¡╖╬ ┴÷╜├╛ε╕ª └√┐δ╟╤┤┘. ╞»┴ñ
  199.     ╡≡╖║┼Σ╕«┐í └╓┤┬ <code>.htaccess</code> ╞─└╧└║ ╗≤└º╡≡╖║┼Σ╕«┐í
  200.     └╓┤┬ <code>.htaccess</code> ╞─└╧└╟ ┴÷╜├╛ε╕ª ╣½╚┐╖╬ ╕╕╡Θ
  201.     ╝÷ └╓░φ, ╗≤└º╡≡╖║┼Σ╕«┐í └╓┤┬ ┴÷╜├╛ε┤┬ ┤⌡ ╗≤└º╡≡╖║┼Σ╕« ╚ñ└║
  202.     ┴╓╝│┴ñ╞─└╧┐í └╓┤┬ ┴÷╜├╛ε╕ª ╣½╚┐╖╬ ╕╕╡Θ ╝÷ └╓┤┘.</p>
  203.  
  204.     <p>┐╣┴ª:</p>
  205.  
  206.     <p><code>/www/htdocs/example1</code> ╡≡╖║┼Σ╕«┐í ┤┘└╜░· ░░└║
  207.     <code>.htaccess</code> ╞─└╧└╠ └╓┤┘.</p>
  208.  
  209.     <div class="example"><p><code>
  210.        Options +ExecCGI
  211.     </code></p></div>
  212.  
  213.     <p>(┴╓└╟: <code>.htaccess</code> ╞─└╧┐í "<code class="directive"><a href="../mod/core.html#options">Options</a></code>" ┴÷╜├╛ε╕ª ╗τ┐δ╟╧╖┴╕Θ
  214.     "<code>AllowOverride Options</code>"░í ╟╩┐Σ╟╧┤┘.)</p>
  215.  
  216.     <p><code>/www/htdocs/example1/example2</code> ╡≡╖║┼Σ╕«┐í┤┬
  217.     ┤┘└╜░· ░░└║ <code>.htaccess</code> ╞─└╧└╠ └╓┤┘.</p>
  218.  
  219.     <div class="example"><p><code>
  220.        Options Includes
  221.     </code></p></div>
  222.  
  223.     <p>└╠ ╡╬╣°┬░ <code>.htaccess</code> ╞─└╧└╟
  224.     <code>Options Includes</code>░í └╠└ⁿ ╝│┴ñ└╗ ┐╧└ⁿ╚≈ ╣½╚┐╖╬
  225.     ╕╕╡Θ▒Γ╢º╣«┐í <code>/www/htdocs/example1/example2</code>
  226.     ╡≡╖║┼Σ╕«┤┬ CGI ╜╟╟α└╗ ╟π┐δ╟╧┴÷ ╛╩┤┬┤┘.</p>
  227. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  228. <div class="section">
  229. <h2><a name="auth" id="auth">└╬┴⌡ ┐╣┴ª</a></h2>
  230.  
  231.     <p>└╬┴⌡ ╣µ╣²└╗ ╛╦▒Γ└º╟╪ ╣┘╖╬ └╠░≈║╬┼═ └╨┤┬┤┘╕Θ ┴╓└╟╟╥ ░═└╠
  232.     └╓┤┘. ╛╧╚ú └╬┴⌡└╗ ╟╧╖┴╕Θ <code>.htaccess</code> ╞─└╧└╠
  233.     ╟╩┐Σ╟╧┤┘┤┬ ┐└╟╪░í │╬╕« ╞█┴«└╓┤┘. └╠┤┬ ╗τ╜╟└╠ ╛╞┤╧┤┘.
  234.     ┴╓╝│┴ñ╞─└╧└╟ <code class="directive"><a href="../mod/core.html#directory"><Directory></a></code> ╝╜╝╟┐í └╬┴⌡ ┴÷╜├╛ε╕ª
  235.     ╡╬┤┬ ░═└╠ ┤⌡ ▒╟└σ╟╧┤┬ ╣µ╣²└╠░φ, ╝¡╣÷└╟ ┴╓╝│┴ñ╞─└╧└╗ ╝÷┴ñ╟╥
  236.     ╝÷ ╛°┤┬ ░µ┐∞┐í╕╕ <code>.htaccess</code> ╞─└╧└╗ ╗τ┐δ╟╪╛▀
  237.     ╟╤┤┘. ╛≡┴ª <code>.htaccess</code> ╞─└╧└╗ ╗τ┐δ╟╪╛▀ ╟╧┤┬┴÷┐═
  238.     ╗τ┐δ╟╧┴÷ ╕╗╛╞╛▀ ╟╧┤┬┴÷┤┬ <a href="#when">└º┐í╝¡</a>
  239.     ╝│╕φ╟╧┐┤┤┘.</p>
  240.  
  241.     <p>╛╒┐í╝¡ ╕╗╟▀┴÷╕╕ ╛╞┴≈╡╡ <code>.htaccess</code> ╞─└╧└╠
  242.     ╟╩┐Σ╟╧┤┘░φ ╗²░ó╡╟╕Θ ╛╞╖í ╝│┴ñ└╠ ╡╡┐≥└╠ ╡╔ ░═└╠┤┘.</p>
  243.  
  244.     <p><code>.htaccess</code> ╞─└╧ │╗┐δ.</p>
  245.  
  246.     <div class="example"><p><code>
  247.       AuthType Basic<br />
  248.       AuthName "Password Required"<br />
  249.       AuthUserFile /www/passwords/password.file<br />
  250.       AuthGroupFile /www/passwords/group.file<br />
  251.       Require Group admins
  252.     </code></p></div>
  253.  
  254.     <p>└╠ ┴÷╜├╛ε░í ╡┐└█╟╧▒Γ└º╟╪╝¡┤┬
  255.     <code>AllowOverride AuthConfig</code> ┴÷╜├╛ε░í ╟╩┐Σ╟╘└╗
  256.     ╕φ╜╔╟╧╢≤.</p>
  257.  
  258.     <p>└╬┴⌡░· ▒╟╟╤║╬┐⌐┐í ┤δ╟╤ └┌╝╝╟╤ ╝│╕φ└║ <a href="auth.html">└╬┴⌡
  259.     ┼⌡┼Σ╕«╛≤</a>└╗ ║╕▒µ ╣┘╢⌡┤┘.</p>
  260. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  261. <div class="section">
  262. <h2><a name="ssi" id="ssi">Server Side Includes ┐╣┴ª</a></h2>
  263.  
  264.     <p>╢╟┤┘╕Ñ └╧╣▌└√└╬ <code>.htaccess</code> ╞─└╧└╟ ┐δ╡╡┤┬
  265.     ╞»┴ñ ╡≡╖║┼Σ╕«┐í╝¡ Server Side Includes╕ª ░í┤╔╟╧░╘ ╕╕╡σ┤┬
  266.     ░═└╠┤┘. ┐°╟╧┤┬ ╡≡╖║┼Σ╕«└╟ <code>.htaccess</code> ╞─└╧┐í
  267.     ┤┘└╜░· ░░└║ ╝│┴ñ ┴÷╜├╛ε╕ª ╗τ┐δ╟╧╕Θ ╡╚┤┘.</p>
  268.  
  269.     <div class="example"><p><code>
  270.        Options +Includes<br />
  271.        AddType text/html shtml<br />
  272.        AddHandler server-parsed shtml
  273.     </code></p></div>
  274.  
  275.     <p>└╠ ┴÷╜├╛ε░í ╡┐└█╟╧╖┴╕Θ <code>AllowOverride Options</code>┐═
  276.     <code>AllowOverride FileInfo</code>░í ╕≡╡╬ ╟╩┐Σ╟╘└╗ ╕φ╜╔╟╧╢≤.</p>
  277.  
  278.     <p>server-side includes┐í ┤δ╟╤ └┌╝╝╟╤ ╝│╕φ└║ <a href="ssi.html">SSI ┼⌡┼Σ╕«╛≤</a>└╗ ║╕▒µ ╣┘╢⌡┤┘.</p>
  279. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  280. <div class="section">
  281. <h2><a name="cgi" id="cgi">CGI ┐╣┴ª</a></h2>
  282.  
  283.     <p>╕╢┴÷╕╖└╕╖╬ <code>.htaccess</code> ╞─└╧└╗ ╗τ┐δ╟╧┐⌐ ╞»┴ñ
  284.     ╡≡╖║┼Σ╕«┐í╝¡ CGI ╟┴╖╬▒╫╖Ñ ╜╟╟α└╗ ╟π┐δ╟╧░φ ╜═┤┘╕Θ, ┤┘└╜░·
  285.     ░░└║ ╝│┴ñ└╗ ╗τ┐δ╟╤┤┘.</p>
  286.  
  287.     <div class="example"><p><code>
  288.        Options +ExecCGI<br />
  289.        AddHandler cgi-script cgi pl
  290.     </code></p></div>
  291.  
  292.     <p>╚ñ└║ └╠ ╡≡╖║┼Σ╕«┐í └╓┤┬ ╕≡╡τ ╞─└╧└╗ CGI ╟┴╖╬▒╫╖Ñ└╕╖╬
  293.     ├│╕«╟╧░φ ╜═┤┘╕Θ ┤┘└╜░· ░░└║ ╝│┴ñ╡╡ ░í┤╔╟╧┤┘.</p>
  294.  
  295.     <div class="example"><p><code>
  296.        Options +ExecCGI<br />
  297.        SetHandler cgi-script
  298.     </code></p></div>
  299.  
  300.     <p>└╠ ┴÷╜├╛ε░í ╡┐└█╟╧╖┴╕Θ <code>AllowOverride Options</code>┐═
  301.     <code>AllowOverride FileInfo</code>░í ╕≡╡╬ ╟╩┐Σ╟╘└╗ ╕φ╜╔╟╧╢≤.</p>
  302.  
  303.     <p>CGI ╟┴╖╬▒╫╖í╣╓░· ╝│┴ñ┐í ┤δ╟╤ └┌╝╝╟╤ ╝│╕φ└║ <a href="cgi.html">CGI ┼⌡┼Σ╕«╛≤</a>└╗ ║╕▒µ ╣┘╢⌡┤┘.</p>
  304.  
  305. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  306. <div class="section">
  307. <h2><a name="troubleshoot" id="troubleshoot">╣«┴ª╟╪░ß</a></h2>
  308.  
  309.     <p><code>.htaccess</code> ╞─└╧┐í ╡╨ ╝│┴ñ ┴÷╜├╛ε░í ┐°╟╧┤┬
  310.     ▒Γ┤╔└╗ ╟╧┴÷ ╛╩┤┬ ░µ┐∞ ┐⌐╖»░í┴÷ └╠└»░í └╓└╗ ╝÷ └╓┤┘.</p>
  311.  
  312.     <p>░í└σ └╧╣▌└√└╬ ╣«┴ª┤┬ ╝│┴ñ ┴÷╜├╛ε╕ª ░í┤╔╟╧░╘ ╕╕╡σ┤┬ <code class="directive"><a href="../mod/core.html#allowoverride">AllowOverride</a></code>╕ª ╝│┴ñ╟╧┴÷ ╛╩└║
  313.     ░µ┐∞┤┘. ╣«┴ª░í ╡╟┤┬ ╞─└╧ ┐╡┐¬┐í <code>AllowOverride None</code>└╠
  314.     ╛°┤┬┴÷ ╚«└╬╟╤┤┘. <code>.htaccess</code> ╞─└╧└╗ ╛╞╣½╖╕░╘│¬ 
  315.     └√└║ ┤┘└╜ ╞Σ└╠┴÷╕ª ┤┘╜├ ┴ó▒┘╟╧┐⌐ ╜▒░╘ ░╦╗τ╟╪║╝ ╝÷ └╓┤┘.
  316.     ╝¡╣÷ ┐└╖∙░í │¬┐└┴÷ ╛╩└╕╕Θ ░┼└╟ ╚«╜╟╚≈
  317.     <code>AllowOverride None</code>└╗ ╗τ┐δ╟╤ ░µ┐∞┤┘.</p>
  318.  
  319.     <p>╣▌┤δ╖╬ ╣«╝¡┐í ┴ó▒┘╟╥╢º ╝¡╣÷ ┐└╖∙░í ╣▀╗²╟╧╕Θ ╛╞╞──í ┐└╖∙╖╬▒╫╕ª
  320.     ╗∞╞∞║┴╢≤. ╛╞╕╢╡╡ <code>.htaccess</code> ╞─└╧┐í └╓┤┬ ┴÷╜├╛ε╕ª
  321.     ╟π┐δ╟╧┴÷ ╛╩┤┬┤┘░φ ╟╥ ░═└╠┤┘. ╛╞┤╧░φ ╣«╣² ┐└╖∙░í └╓┤┘╕Θ ┐└╖∙╕ª
  322.     ░φ─ú┤┘.</p>
  323.  
  324. </div></div>
  325. <div class="bottomlang">
  326. <p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="../en/howto/htaccess.html" hreflang="en" rel="alternate" title="English"> en </a> |
  327. <a href="../ja/howto/htaccess.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
  328. <a href="../ko/howto/htaccess.html" title="Korean"> ko </a> |
  329. <a href="../pt-br/howto/htaccess.html" hreflang="pt-br" rel="alternate" title="Português (Brasil)"> pt-br </a></p>
  330. </div><div id="footer">
  331. <p class="apache">Copyright 1995-2006 The Apache Software Foundation or its licensors, as applicable.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
  332. <p class="menu"><a href="../mod/">╕≡╡Γ</a> | <a href="../mod/directives.html">┴÷╜├╛ε╡Θ</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">┐δ╛ε</a> | <a href="../sitemap.html">╗τ└╠╞«╕╩</a></p></div>
  333. </body></html>